package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._03装饰模式._3穿衣;

/**
 * @ClassName Person
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/10 1:32 PM
 * @Version 1.0
 */
public class Person implements ICharacter{
    private String name;

    public Person() {
        this.name = "user";
    }

    public Person(String name) {
        this.name = name;
    }

    @Override
    public void show() {
        System.out.println("装扮的"+name);
    }
}
